import api from "../../../api/index";
export default {
  request(store, json) {
    return new Promise((resolve, reject) => {
      api
        .post(json.path, json.data)
        .then((res) => resolve(res))
        .catch((err) => reject(err));
    });
  },
};
